<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Context 参数列表</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="context.phar.html">« Phar 上下文（context）选项</a></li>
      <li style="float: right;"><a href="context.zip.html">Zip 上下文选项 »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="context.html">上下文（Context）选项和参数</a></li>
    <li>Context 参数列表</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="context.params" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">Context 参数</h1>
  <p class="refpurpose"><span class="refname">Context 参数</span> &mdash; <span class="dc-title">Context 参数列表</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-context.params-description">
  <h3 class="title">说明</h3>
  <p class="para">
   这些参数（<code class="literal">parameters</code>）可以设置为由函数 <span class="function"><a href="function.stream-context-set-params.html" class="function">stream_context_set_params()</a></span> 返回的 <code class="literal">context</code>。
  </p>
 </div>


 <div class="refsect1 options" id="refsect1-context.params-options">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>
    
     <dt id="context.params.notification">
      <code class="parameter">notification</code>
      <span class="type"><a href="language.types.callable.html" class="type callable">callable</a></span>
     </dt>

     <dd>

      <p class="para">
       当一个流（stream）上发生事件时，<span class="type"><a href="language.types.callable.html" class="type callable">callable</a></span> 将被调用。
      </p>
      <p class="para">
       查看 <a href="function.stream-notification-callback.html" class="link">
       stream_notification_callback</a> 以获得更多信息。
      </p>
     </dd>

    
   </dl>

  </p>
 </div>


</div></div></div></body></html>